package com.doradance.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/2/26.
 */

public class WexinBean {


    /**
     * optimize : “false”
     * babies : [{"id":"Long,宝宝ID","user_id":"Long,所属用户ID","nick_name":"String,宝宝名称","avatar":"String,宝宝头像","cover":"String,宝宝封面","birthday":"String,生日","gender":"Integer,性别","sign":"签名签名","age_label":"String,年龄","gender_name":"String,性别名称"}]
     * token : {"user_id":"10","access_token":"02A44259755D38E61BDCDA40F8BD7F03F242CCDF380879F02901018A6AEF38BABFC3F5B026E4DB1D","refresh_token":"02A44259755D38E6CB35F6740243408CC81D2541664C7895DA66D428517F091DFAF870303915C0F1","expires_at":4673212955550,"server_time":1519612955548,"mac_key":"SLQZseIDsd"}
     */

    private String optimize;
    private TokenBean token;
    private List<BabiesBean> babies;

    public String getOptimize() {
        return optimize;
    }

    public void setOptimize(String optimize) {
        this.optimize = optimize;
    }

    public TokenBean getToken() {
        return token;
    }

    public void setToken(TokenBean token) {
        this.token = token;
    }

    public List<BabiesBean> getBabies() {
        return babies;
    }

    public void setBabies(List<BabiesBean> babies) {
        this.babies = babies;
    }

    public static class TokenBean {
        /**
         * user_id : 10
         * access_token : 02A44259755D38E61BDCDA40F8BD7F03F242CCDF380879F02901018A6AEF38BABFC3F5B026E4DB1D
         * refresh_token : 02A44259755D38E6CB35F6740243408CC81D2541664C7895DA66D428517F091DFAF870303915C0F1
         * expires_at : 4673212955550
         * server_time : 1519612955548
         * mac_key : SLQZseIDsd
         */

        private String user_id;
        private String access_token;
        private String refresh_token;
        private String expires_at;
        private String server_time;
        private String mac_key;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public String getRefresh_token() {
            return refresh_token;
        }

        public void setRefresh_token(String refresh_token) {
            this.refresh_token = refresh_token;
        }

        public String getExpires_at() {
            return expires_at;
        }

        public void setExpires_at(String expires_at) {
            this.expires_at = expires_at;
        }

        public String getServer_time() {
            return server_time;
        }

        public void setServer_time(String server_time) {
            this.server_time = server_time;
        }

        public String getMac_key() {
            return mac_key;
        }

        public void setMac_key(String mac_key) {
            this.mac_key = mac_key;
        }
    }

    public static class BabiesBean implements Serializable{
        /**
         * id : Long,宝宝ID
         * user_id : Long,所属用户ID
         * nick_name : String,宝宝名称
         * avatar : String,宝宝头像
         * cover : String,宝宝封面
         * birthday : String,生日
         * gender : Integer,性别
         * sign : 签名签名
         * age_label : String,年龄
         * gender_name : String,性别名称
         */

        private String id;
        private String user_id;
        private String nick_name;
        private String avatar;
        private String cover;
        private String birthday;
        private String gender;
        private String sign;
        private String age_label;
        private String gender_name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getAge_label() {
            return age_label;
        }

        public void setAge_label(String age_label) {
            this.age_label = age_label;
        }

        public String getGender_name() {
            return gender_name;
        }

        public void setGender_name(String gender_name) {
            this.gender_name = gender_name;
        }

        @Override
        public String toString() {
            return "BabiesBean{" +
                    "id='" + id + '\'' +
                    ", user_id='" + user_id + '\'' +
                    ", nick_name='" + nick_name + '\'' +
                    ", avatar='" + avatar + '\'' +
                    ", cover='" + cover + '\'' +
                    ", birthday='" + birthday + '\'' +
                    ", gender='" + gender + '\'' +
                    ", sign='" + sign + '\'' +
                    ", age_label='" + age_label + '\'' +
                    ", gender_name='" + gender_name + '\'' +
                    '}';
        }
    }
}
